﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAO;
using DTO;

namespace BUS
{
    public class HoaDonSanPhamBUS
    {
        HoaDonSanPhamDAO hdspDAO = new HoaDonSanPhamDAO();

        public List<HoaDonSanPhamDTO> LayDanhSachHoaDonSanPham()
        {
            return hdspDAO.LayDanhSachHoaDonSanPham();
        }

        public int ThemHoaDonSanPham(HoaDonSanPhamDTO hdspDTO)
        {
            return hdspDAO.ThemHoaDonSanPham(hdspDTO);
        }
    }
}
